﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daemon.Model
{
    [Table("admin_role")]
    public partial class AdminRole
    {
        [Key]
        [Column("Id")]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        public string Name { get; set; }

        public bool EnableMultifactorAuth { get; set; }
        public string RoleDesc {get; set; }

        public int AddUserId { get; set; }

        public int UpdateUserId { get; set; }

        public virtual ICollection<RoleSecuredItem> RoleSecuredItems { get; set; }
    }
}
